/*
 * Copyright © 2018 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

@import '~styles/variables.scss';
$border-color: $grey-04;
$caption-color: $grey-02;

.field-level-lineage .top-panel {
  padding-left: 50px;
  padding-right: 50px;
  height: 60px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-end;

  .time-picker-caption {
    color: $caption-color;
  }

  .time-picker-dropdown {
    vertical-align: top;
    margin-top: 5px;

    .dropdown-toggle {
      padding: 0;
      border-radius: 0;
      border: 0;
      border-bottom: 2px solid $border-color;

      h5 { display: inline; }

      &:hover,
      &:active,
      &:focus {
        background-color: transparent;
      }
    }

    .dropdown-item {
      cursor: pointer;
    }
  }

  .custom-time-range-container {
    display: inline-block;
    position: relative;
    margin-left: 10px;
    width: 400px;

    .time-range-picker-container .time-range-selector .time .time-wrapper {
      line-height: 25px;
    }
  }
}
